package Package.ProcessesAndThreads.Threads.SchedulingOfThreads;

public class Mythread extends Thread {
    @Override
    public void run() {
        int a=0;
        if (getName().equals("诸葛亮") ) {
            a = 90;

        }
        for (int i=a; i < 100; i++) {
            System.out.println(getName() + "--" + i);
            try {
                Thread.sleep(10);
            } catch (InterruptedException e) {
                throw new RuntimeException(e);
            }

        }
    }
}
